home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / print / hpgl2ps.zip / MANUALFE.C < prev    next >
Text File  |  1989-08-08  |  627b  |  25 lines

  1. /*      manualfeed.c
  2.  *    A procedure to allow the user to use the manual feed on
  3.  *    the LaserWriter.
  4.  *    The default wait before timeout is 3 minutes however this
  5.  *    is easily changed.
  6.  *
  7.  *    argument: 1.   Enable manual feed.
  8.  *          0.   Disable manual feed.
  9.  *
  10.  *    Don McCormick
  11.  */
  12. manualfeed(arg)
  13. int     arg;
  14. {
  15.     if (arg == 1)
  16.     {
  17.     printf("statusdict /manualfeed true put\n");
  18.     printf("statusdict /manualfeedtimeout 180 put\n");    /* 3 minute wait */
  19.     } else
  20.     printf("statusdict /manualfeed false put\n");
  21.  
  22.     printf("usertime 5000 add\n");
  23.     printf("{dup usertime lt {pop exit} if} loop\n");
  24. }
  25.